package com.zksk.mbg.admin.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.zksk.common.core.web.domain.BaseEntity;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 用户经营信息表
 * </p>
 *
 * @author Zksk Acmen
 * @since 2022-12-15
 */
@Data
@Accessors(chain = true)
@TableName("platform_fact_member_manage")
@ApiModel(value = "MemberManage对象", description = "用户经营信息表")
public class MemberManage extends BaseEntity {

    @ApiModelProperty("表主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("用户id")
    @TableField("member_id")
    private Long memberId;

    @ApiModelProperty("公司章程")
    @TableField("rules")
    private String rules;

    @ApiModelProperty("审计报告")
    @TableField("audit")
    private String audit;

    @ApiModelProperty("财务报表")
    @TableField("finance")
    private String finance;

    @ApiModelProperty("银行流水")
    @TableField("bank_flow")
    private String bankFlow;

    @ApiModelProperty("公司章程更新时间")
    @TableField("rules_time")
    private LocalDateTime rulesTime;

    @ApiModelProperty("审计报告更新时间")
    @TableField("audit_time")
    private LocalDateTime auditTime;

    @ApiModelProperty("财务报表更新时间")
    @TableField("finance_time")
    private LocalDateTime financeTime;

    @ApiModelProperty("银行流水更新时间")
    @TableField("bank_flow_time")
    private LocalDateTime bankFlowTime;

    @ApiModelProperty("删除标识（0 正常 2删除）")
    @TableField(value = "del_flag", fill = FieldFill.INSERT)
    @TableLogic
    private Integer delFlag;


    public static final String ID = "id";

    public static final String MEMBER_ID = "member_id";

    public static final String RULES = "rules";

    public static final String AUDIT = "audit";

    public static final String FINANCE = "finance";

    public static final String BANK_FLOW = "bank_flow";

    public static final String RULES_TIME = "rules_time";

    public static final String AUDIT_TIME = "audit_time";

    public static final String FINANCE_TIME = "finance_time";

    public static final String BANK_FLOW_TIME = "bank_flow_time";

    public static final String DEL_FLAG = "del_flag";

    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
